﻿package com.obas.model.business
{
	import com.obas.model.business.Customer;
	import com.obas.model.business.Device;
	import com.obas.model.business.Entity;

	[Bindable]
	[RemoteClass(alias="com.obas.model.business.CustomerNetworkServing")]
	
	public class CustomerNetworkServing
		extends
			com.obas.model.business.Entity
	{
		public static const ATTRIBUTE_customerId:String="customerId";
		public static const ATTRIBUTE_networkServingType:String="networkServingType";
		public static const ATTRIBUTE_networkServingId:String="networkServingId";

		private var _customerId:Number;
		private var _customer:com.obas.model.business.Customer;
		private var _customerUsername:String;
		private var _zendDeviceId:Number;
		private var _zendDevice:com.obas.model.business.Device;
		private var _networkServingType:int;
		private var _networkServingId:Number;
		private var _bindType:int;
		private var _bindAttr:String;
		private var _cvlan:String;
		private var _bandwidth:Number;
		private var _upBandwidth:Number;
		private var _batchTimestamp:Date;

		public function CustomerNetworkServing()
		{
		}

		public function get customerId():Number
		{
			return _customerId;
		}

		public function set customerId(value:Number):void
		{
			_customerId = value;
		}

		public function get customer():com.obas.model.business.Customer
		{
			return _customer;
		}

		public function set customer(value:com.obas.model.business.Customer):void
		{
			_customer = value;
		}

		public function get customerUsername():String
		{
			return _customerUsername;
		}

		public function set customerUsername(value:String):void
		{
			_customerUsername = value;
		}

		public function get zendDeviceId():Number
		{
			return _zendDeviceId;
		}

		public function set zendDeviceId(value:Number):void
		{
			_zendDeviceId = value;
		}

		public function get zendDevice():com.obas.model.business.Device
		{
			return _zendDevice;
		}

		public function set zendDevice(value:com.obas.model.business.Device):void
		{
			_zendDevice = value;
		}

		public function get networkServingType():int
		{
			return _networkServingType;
		}

		public function set networkServingType(value:int):void
		{
			_networkServingType = value;
		}

		public function get networkServingId():Number
		{
			return _networkServingId;
		}

		public function set networkServingId(value:Number):void
		{
			_networkServingId = value;
		}

		public function get bindType():int
		{
			return _bindType;
		}

		public function set bindType(value:int):void
		{
			_bindType = value;
		}

		public function get bindAttr():String
		{
			return _bindAttr;
		}

		public function set bindAttr(value:String):void
		{
			_bindAttr = value;
		}

		public function get cvlan():String
		{
			return _cvlan;
		}

		public function set cvlan(value:String):void
		{
			_cvlan = value;
		}

		public function get bandwidth():Number
		{
			return _bandwidth;
		}

		public function set bandwidth(value:Number):void
		{
			_bandwidth = value;
		}

		public function get upBandwidth():Number
		{
			return _upBandwidth;
		}

		public function set upBandwidth(value:Number):void
		{
			_upBandwidth = value;
		}

		public function get batchTimestamp():Date
		{
			return _batchTimestamp;
		}

		public function set batchTimestamp(value:Date):void
		{
			_batchTimestamp = value;
		}
	}
}